package com.msb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MyController {
    @RequestMapping("/test01")
    @ResponseBody
    public String test01(){
        return "test01";
    }

    @RequestMapping("/test02")
    @ResponseBody
    public String test02(){
        return "index.jsp";
    }

}
